home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / claqgb.z / claqgb
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))                                                          CCCCLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLAQGB - equilibrate a general M by N band matrix A with KL subdiagonals
  10.      and KU superdiagonals using the row and scaling factors in the vectors R
  11.      and C
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE CLAQGB( M, N, KL, KU, AB, LDAB, R, C, ROWCND, COLCND, AMAX,
  15.                         EQUED )
  16.  
  17.          CHARACTER      EQUED
  18.  
  19.          INTEGER        KL, KU, LDAB, M, N
  20.  
  21.          REAL           AMAX, COLCND, ROWCND
  22.  
  23.          REAL           C( * ), R( * )
  24.  
  25.          COMPLEX        AB( LDAB, * )
  26.  
  27. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  28.      These routines are part of the SCSL Scientific Library and can be loaded
  29.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  30.      directs the linker to use the multi-processor version of the library.
  31.  
  32.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  33.      4 bytes (32 bits). Another version of SCSL is available in which integers
  34.      are 8 bytes (64 bits).  This version allows the user access to larger
  35.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  36.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  37.      only one of the two versions; 4-byte integer and 8-byte integer library
  38.      calls cannot be mixed.
  39.  
  40. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  41.      CLAQGB equilibrates a general M by N band matrix A with KL subdiagonals
  42.      and KU superdiagonals using the row and scaling factors in the vectors R
  43.      and C.
  44.  
  45. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  46.      M       (input) INTEGER
  47.              The number of rows of the matrix A.  M >= 0.
  48.  
  49.      N       (input) INTEGER
  50.              The number of columns of the matrix A.  N >= 0.
  51.  
  52.      KL      (input) INTEGER
  53.              The number of subdiagonals within the band of A.  KL >= 0.
  54.  
  55.      KU      (input) INTEGER
  56.              The number of superdiagonals within the band of A.  KU >= 0.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))                                                          CCCCLLLLAAAAQQQQGGGGBBBB((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      AB      (input/output) COMPLEX array, dimension (LDAB,N)
  75.              On entry, the matrix A in band storage, in rows 1 to KL+KU+1.
  76.              The j-th column of A is stored in the j-th column of the array AB
  77.              as follows:  AB(ku+1+i-j,j) = A(i,j) for max(1,j-
  78.              ku)<=i<=min(m,j+kl)
  79.  
  80.              On exit, the equilibrated matrix, in the same storage format as
  81.              A.  See EQUED for the form of the equilibrated matrix.
  82.  
  83.      LDAB    (input) INTEGER
  84.              The leading dimension of the array AB.  LDA >= KL+KU+1.
  85.  
  86.      R       (output) REAL array, dimension (M)
  87.              The row scale factors for A.
  88.  
  89.      C       (output) REAL array, dimension (N)
  90.              The column scale factors for A.
  91.  
  92.      ROWCND  (output) REAL
  93.              Ratio of the smallest R(i) to the largest R(i).
  94.  
  95.      COLCND  (output) REAL
  96.              Ratio of the smallest C(i) to the largest C(i).
  97.  
  98.      AMAX    (input) REAL
  99.              Absolute value of largest matrix entry.
  100.  
  101.      EQUED   (output) CHARACTER*1
  102.              Specifies the form of equilibration that was done.  = 'N':  No
  103.              equilibration
  104.              = 'R':  Row equilibration, i.e., A has been premultiplied by
  105.              diag(R).  = 'C':  Column equilibration, i.e., A has been
  106.              postmultiplied by diag(C).  = 'B':  Both row and column
  107.              equilibration, i.e., A has been replaced by diag(R) * A *
  108.              diag(C).
  109.  
  110. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  111.      THRESH is a threshold value used to decide if row or column scaling
  112.      should be done based on the ratio of the row or column scaling factors.
  113.      If ROWCND < THRESH, row scaling is done, and if COLCND < THRESH, column
  114.      scaling is done.
  115.  
  116.      LARGE and SMALL are threshold values used to decide if row scaling should
  117.      be done based on the absolute size of the largest matrix element.  If
  118.      AMAX > LARGE or AMAX < SMALL, row scaling is done.
  119.  
  120. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  121.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  122.  
  123.      This man page is available only online.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.